<html>
<head>

<?php
	global $current_controller;

	//http-equiv meta tags
	XHTML::Meta('http-equiv', 'Content-Type', 'text/html; charset=utf-8');
	XHTML::Meta('http-equiv', 'content-language', 'en');
	XHTML::Meta('http-equiv', 'cache-control', 'no-cache');
	
	//named meta tags
	XHTML::Meta('name', 'robots', 'noindex,nofollow');

	//common javascript files
	XHTML::JSBuffer(JAVASCRIPTSRC.SEPARATOR.'general');
	
	//additional javascript files
	$current_controller->IncludeJavascriptFiles();
	XHTML::DisplayJSBuffer();
	
	//common css files
	XHTML::CSSBuffer(substr(THEMES.SEPARATOR.$current_controller->theme.SEPARATOR.'default', 1));
	XHTML::DisplayCSSBuffer();
	
	//jquery component
    jQuery::Initialize();
	
	//page title
	XHTML::Title(LANG_PROJECT_NAME);
?>

</head>
<body>

	<!-- jQuery -->
    <?php
        //turns all submit/reset submit buttons into jQuery buttons
        jQuery::Button("page_container input:submit, input:reset"); 
    ?>
	<!-- /jQuery -->
	
	<!-- Page Content -->
    <?php echo $page_content;?>
    
</body>
</html>